package com.sinocare.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sinocare.common.entity.SystemSettings;
import com.sinocare.common.vo.SystemSettingsVo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface SettingsService extends IService<SystemSettings> {
    /**
     * 检测项查询
     * @param systemSettingsVo
     * @return
     */
    List<SystemSettings> listSettings(SystemSettingsVo systemSettingsVo);
    /**
     * 动态获取项目下拉框
     * @return
     */
    List<SystemSettingsVo> querySettings();
    /**
     * 修改项目
     * @param systemSettings
     * @return
     */
    int updateSettings(SystemSettings systemSettings);

    /**
     * 增加项目
     * @param systemSettings
     * @return
     */
    int addSettings(SystemSettings systemSettings);
}
